﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 派工完工申报单AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class DispatchCompleteOrderAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public DispatchCompleteOrderAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.DispatchCompleteOrderDocLines!=null)
			{
				foreach(ufida.u9.ait.openapi.DispatchCompleteOrderDocLineAITDTOData objdata in this.DispatchCompleteOrderDocLines)
				{
					objdata.DoSerializeKeyList(dict);
				}
			}
				        	        			if (this.DispatchOrder != null) 
			{
				this.DispatchOrder.DoSerializeKeyList(dict);
			}
	        			if (this.DispatchCompleteOrderDocType != null) 
			{
				this.DispatchCompleteOrderDocType.DoSerializeKeyList(dict);
			}
	        	        	        	        			if (this.RptWorkCenter != null) 
			{
				this.RptWorkCenter.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public DispatchCompleteOrderAITDTOData(  List<ufida.u9.ait.openapi.DispatchCompleteOrderDocLineAITDTOData> dispatchCompleteOrderDocLines  , System.String docNo  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData dispatchOrder  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData dispatchCompleteOrderDocType  , System.String businessDate  , System.String actualStartDate  , System.String actualEndDate  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData rptWorkCenter  )
		{
			initData();
			this.DispatchCompleteOrderDocLines = dispatchCompleteOrderDocLines;
			this.DocNo = docNo;
			this.DispatchOrder = dispatchOrder;
			this.DispatchCompleteOrderDocType = dispatchCompleteOrderDocType;
			this.BusinessDate = businessDate;
			this.ActualStartDate = actualStartDate;
			this.ActualEndDate = actualEndDate;
			this.RptWorkCenter = rptWorkCenter;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 完工申报单行
		/// 派工完工申报单AITDTO.Misc.完工申报单行
		/// </summary>
		private List<ufida.u9.ait.openapi.DispatchCompleteOrderDocLineAITDTOData> m_dispatchCompleteOrderDocLines ;
		[DataMember(IsRequired=false)]
		public List<ufida.u9.ait.openapi.DispatchCompleteOrderDocLineAITDTOData> DispatchCompleteOrderDocLines
		{
			get	
			{	
				if (m_dispatchCompleteOrderDocLines == null )
				{
					List<ufida.u9.ait.openapi.DispatchCompleteOrderDocLineAITDTOData> n_m_list = new List<ufida.u9.ait.openapi.DispatchCompleteOrderDocLineAITDTOData>() ;
					m_dispatchCompleteOrderDocLines = n_m_list ;
				}
				return m_dispatchCompleteOrderDocLines ;
			}
			set	
			{	
				m_dispatchCompleteOrderDocLines = value ;	
			}
		}
			
		

		/// <summary>
		/// 单号
		/// 派工完工申报单AITDTO.Misc.单号
		/// </summary>
		private System.String m_docNo ;
		[DataMember(IsRequired=false)]
		public System.String DocNo
		{
			get	
			{	
				return m_docNo ;
			}
			set	
			{	
				m_docNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 派工单
		/// 派工完工申报单AITDTO.Misc.派工单
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_dispatchOrder ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData DispatchOrder
		{
			get	
			{	
				return m_dispatchOrder ;
			}
			set	
			{	
				m_dispatchOrder = value ;	
			}
		}
			
		

		/// <summary>
		/// 单据类型
		/// 派工完工申报单AITDTO.Misc.单据类型
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_dispatchCompleteOrderDocType ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData DispatchCompleteOrderDocType
		{
			get	
			{	
				return m_dispatchCompleteOrderDocType ;
			}
			set	
			{	
				m_dispatchCompleteOrderDocType = value ;	
			}
		}
			
		

		/// <summary>
		/// 业务日期
		/// 派工完工申报单AITDTO.Misc.业务日期
		/// </summary>
		private System.String m_businessDate ;
		[DataMember(IsRequired=false)]
		public System.String BusinessDate
		{
			get	
			{	
				return m_businessDate ;
			}
			set	
			{	
				m_businessDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 实际开始日期
		/// 派工完工申报单AITDTO.Misc.实际开始日期
		/// </summary>
		private System.String m_actualStartDate ;
		[DataMember(IsRequired=false)]
		public System.String ActualStartDate
		{
			get	
			{	
				return m_actualStartDate ;
			}
			set	
			{	
				m_actualStartDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 实际结束日期
		/// 派工完工申报单AITDTO.Misc.实际结束日期
		/// </summary>
		private System.String m_actualEndDate ;
		[DataMember(IsRequired=false)]
		public System.String ActualEndDate
		{
			get	
			{	
				return m_actualEndDate ;
			}
			set	
			{	
				m_actualEndDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 汇报工作中心
		/// 派工完工申报单AITDTO.Misc.汇报工作中心
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_rptWorkCenter ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData RptWorkCenter
		{
			get	
			{	
				return m_rptWorkCenter ;
			}
			set	
			{	
				m_rptWorkCenter = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																
		#endregion 
	} 	
}
